﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Exam.Common;
using Exam.BLL;
using Exam.Models;

public partial class index : System.Web.UI.Page
{
    账户业务类 zh = new 账户业务类();
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnOK_Click(object sender, EventArgs e)
    {
        string userName = txtName.Value.Trim();
        string password = txtPwd.Value.Trim();
        if(Check.CheckEmpty(userName,password)) return;//登录名密码为空返回
        用户表 user=new 用户表();
        if (zh.LoginIn(userName,password,ref user)) 
        {
            
        }
    }
}